package com.dingreading.cloud.soms.service;

import com.dingreading.cloud.common.util.PageUtil;
import com.dingreading.cloud.soms.entity.MemberTransfer;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2024-02-24
 */
public interface MemberTransferService extends IService<MemberTransfer> {

    Page<MemberTransfer> pageList(PageUtil pageUtil, String corpUid, String fromStoreUid, String toStoreUid, String keywords, Integer status);

    int dropBean(String storeUid, String uid);

    MemberTransfer getByStoreUidAndUid(String storeUid, String uid);

    MemberTransfer getByToStoreUidAndUid(String storeUid, String uid);

    boolean updateStatus(String storeUid, String uid, Integer status, String staffUid, String staffName, String checkRemark);

    boolean haveMember(String storeUid, String memberUid);

}
